package com.example.ffepeg.ffeAdder;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class TestRunMetb {
    public static void main(String[] args) {
        List<List<Integer>> listOfLists = Arrays.asList(
                Arrays.asList(0, 1, 2, 3, 4, 5, 6, 7, 8, 9),
                Arrays.asList(10, 11, 12, 13, 14, 15, 16, 17, 18, 19),
                Arrays.asList(20, 23, 24, 25, 26, 27, 28, 29, 30)
        );

      /*   List<String> strfList = new ArrayList<>();
        // 遍历外部列表
        for (List<Integer> list : listOfLists) {
            StringBuilder sb = new StringBuilder();
            for (Integer num : list) {
                sb.append(num);
            }
            strfList.add(sb.toString());
        }
        System.err.println(strfList);*/


        for (List<Integer> lists:  listOfLists){
            Integer i = lists.get(0);
            Integer i1 = lists.get(lists.size() - 1);
            System.out.println("开始: "+ i + "   结束: " + i1);
        }

    }

}
